package com.scvtc.service.office;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scvtc.domain.ResResult;
import com.scvtc.domain.entity.office.Examination;
import com.scvtc.domain.vo.PageVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 考务管理
 */
public interface OfficeExaminationService extends IService<Examination> {
    ResResult<PageVo<List<Examination>>> getAllInfo(Long current, Long size, Examination Examination);
    /**
     * 添加一个会议
     *
     * @param Examination
     * @return
     */
    ResResult<?> addOneExamination(Examination Examination);

    /**
     * 修改文件
     *
     * @param Examination
     * @return
     */
    ResResult<?> updateExamination(Examination Examination);

    /**
     * 删除单个学生
     *
     * @param id
     * @return
     */
    @Transactional
    ResResult<?> deleteExamination(Long id);

    /**
     * 删除多个学生
     *
     * @param ids
     * @return
     */
    @Transactional
    ResResult<?> deleteMultipleExamination(Long[] ids);


}
